<!DOCTYPE html>
<html>
<head>
<title>index2.html</title>

<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery/jquery.min.js"></script>

<script type="text/javascript" src="js/activemq/stomp.js"></script>

<script type="text/javascript"
	src="js/jquery-easyui/jquery.easyui.min.js"></script>
<link rel="stylesheet" type="text/css"
	href="js/jquery-easyui/themes/icon.css" />
<link id="easyuiTheme" rel="stylesheet" type="text/css"
	href="js/jquery-easyui/themes/gray/easyui.css" />
</head>
<script type="text/javascript">
	var client = Stomp.client("ws://127.0.0.1:61614/stomp");

	client.connect("guest", "guest",
		function() {
			client.subscribe("jms.topic.test",
				function(message) {
					alert(message);
				},
				{
					priority : 9
				}
			);

			client.send("jms.topic.test", {
				priority : 9
			}, "Pub/Sub over STOMP!");
		}
	);
</script>


<body>

	<br>
</body>
</html>
